using System;
using System.ComponentModel.DataAnnotations;

namespace ERP.EquipmentManage.Dtos
{
    /// <summary>
    /// 维修单DTO
    /// </summary>
    public class RepairDto
    {
        /// <summary>
        /// ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 维修单编号
        /// </summary>
        public string RepairCode { get; set; }

        /// <summary>
        /// 维修单名称
        /// </summary>
        public string RepairName { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        public string DeviceCode { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; }

        /// <summary>
        /// 报修日期
        /// </summary>
        public DateTime? WarrantyDate { get; set; }

        /// <summary>
        /// 维修日期
        /// </summary>
        public DateTime? RepairDate { get; set; }

        /// <summary>
        /// 验收日期
        /// </summary>
        public DateTime? AcceptanceDate { get; set; }

        /// <summary>
        /// 维修结果
        /// </summary>
        public string RepairResults { get; set; }

        /// <summary>
        /// 维修人员
        /// </summary>
        public string RepairPersonnel { get; set; }

        /// <summary>
        /// 验收人
        /// </summary>
        public string AcceptancePerson { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public int? DocumentStatus { get; set; }

        /// <summary>
        /// 单据状态文本
        /// </summary>
        public string DocumentStatusText { get; set; }
    }
} 